<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="Arithmetic.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>四则运算</title>
<link rel="stylesheet" type="text/css" href="./css/reset.css"></link>
<link rel="stylesheet" type="text/css" href="./css/body.css">
<link />
<script>
	function empty()//清空輸入的數據
	{
		document.getElementById("a1").value = "";
		
	}
	
</script>
</head>
<body>
	<center>
		<form action="getProblem.jsp" method="post">
			<table id="thistable">
				<tr>
					<td width="380pt">题目数</td>
				
				</tr>
				<tr>
                    <td><input id="a1" name="number" type="text" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')"></td>
				</tr>
				<tr>
					<td>
						<input id="pacman1" type="submit" value="送">
					</td>
				</tr>
			</table>
		</form>
	</center>
</body>
</html>